package cn.ihna.demo.algorithm.basic;

/**
 * 字符串匹配 给定两个字符串，寻找其中一个字符串是否包含另一个字符串
 * 如果包含的话返回起始位置
 *
 * @author xianyingda@gmail.com
 * @serial
 * @since 2020-08-28 16:12
 */
public class KMP {

    public static void main(String[] args) {
        String s1 = "";
        String s2 = "";
        int startIndex = checkContains(s1, s2);
        System.out.println("startIndex = " + startIndex);
    }

    private static int checkContains(String s1, String s2) {


        return -1;
    }
}
